package com.tencreat.domain.mall.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel("pc管理端砍价记录")
public class CutRecordPCDTO {
    @NotNull(message = "分页页码不能为空")
    private Integer pageNum;

    @NotNull(message = "分页大小不能为空")
    private Integer pageSize;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("用户id")
    private Integer uuid;

    @ApiModelProperty("砍价状态")
    private String cutStatus;

    @ApiModelProperty("专区名称")
    private String zoneId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("商品ID")
    private Long goodsId;
}
